<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8" import="java.util.*, laborum2011.servlet.*"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.o0rg/TR/html4/loose.dtd">
<html>
<head>
<title>index.gif</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="style.css" />
</head>
<body bgcolor="#ffffff">
	<div align="center" style="padding-top: 80px;">
		<form id="logueo" name="logueo" method="post" action="LoginServlet">
		<input type="hidden" name="tipo" value="logueo">
			<table cellpadding="0" cellspacing="0" border="0" width="500"
				align="center">
				<tr>
					<td colspan="2"><img src="images/loguin.png" width="500"
						height="139" />
					</td>
				</tr>
				<tr bgcolor="#FFFFFF">
					<td colspan="2" align="center">&nbsp;</td>
				</tr>
				<tr bgcolor="#FFFFFF">
					<td class="normal" align="center" colspan="2">
					<a href="LoginServlet?id=P" class="normal"
						title="Nuevo Postulante"><b>Nuevo Postulante</b>
					</a>&nbsp;&nbsp; 
					<a href="LoginServlet?id=A" class="normal"
						title="Nuevo Anunciante"><b>Nuevo Anunciante</b>
					</a></td>
					
				</tr>
                <tr bgcolor="#FFFFFF">
                <br><b><%String aviso=(String)session.getAttribute("anunciol"); 
                       
                          if( aviso==null) {
                        	  aviso="";
                          }   
                          %></b><br/>
					<td class="normal" align="center" colspan="2"><%= aviso %></td>
                </tr>
				<tr bgcolor="#FFFFFF">
					<td colspan="2" align="center">&nbsp;</td>
				</tr>
				<tr bgcolor="#FFFFFF">
					<td class="normal" align="right">Usuario:</td>
					<td><input type="text" name="usuario" id="usuario" class="standardTextMedium" />
					</td>
				</tr>
				<tr bgcolor="#FFFFFF">
					<td class="normal" align="right">Contraseña:</td>
					<td><input type="password" name="contra" id="contra" class="standardTextMedium" />
					</td>
				</tr>
				<tr bgcolor="#FFFFFF">
					<td colspan="2" align="center">&nbsp;</td>
				</tr>
				<tr bgcolor="#FFFFFF">
					<td colspan="2" align="center">
					<input type="submit" class="aceptarButton" value="" /> 
					<input type="button" class="cancelarButton" value="" />
					</td>
				</tr>
				<tr bgcolor="#FFFFFF">
					<td colspan="2" align="center">&nbsp;</td>
				</tr>
			</table>
		</form>
	</div>
</body>
</html>
